package com.binance.notification.web.service;

import java.util.List;

import com.binance.notification.data.models.AlertPrice;

public interface IAlertPriceService {

    public AlertPrice insert(AlertPrice price) throws Exception;

    public int remove(List<Long> idList, String userId) throws Exception;

    public int update(AlertPrice price) throws Exception;

    public void putPair(String pair, Double curPrice);

    public void putAlertPrice(String alertPrice, Double curPrice);

    public List<AlertPrice> loadByUserId(String userId);
    
    public List<AlertPrice> query(AlertPrice alertPrice);
    
    public Long count(AlertPrice alertPrice);
}
